﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>VMDWebFrontend</title>
    <base href="/" />
    <style>
        :root {
            --opensilver-loading-background-color: #201f1f;
            --opensilver-loading-progress-bg: #505050;
            --opensilver-loading-progress-bar-color: #fff;
            --opensilver-loading-counter-color: #848181;
            --opensilver-loading-progress-border-color: #505050;
        }
    </style>
    <script>
        (function () {
            const style = document.createElement('link');
            style.setAttribute('rel', 'stylesheet');
            style.setAttribute('type', 'text/css');
            style.setAttribute('href', 'modern/loading-indicator.css?date=' + new Date().toISOString());
            document.head.appendChild(style);

            const script = document.createElement('script');
            script.setAttribute('type', 'application/javascript');
            script.setAttribute('src', 'modern/loading-animation.js?date=' + new Date().toISOString());
            document.head.appendChild(script);
        })();
    </script>
</head>
<body>
    <div id="app">
        <div class="opensilver-loading-indicator">
            <div class="opensilver-loader-container">
                <div class="opensilver-loader">
                    <div class="opensilver-loader-progress">
                        <div class="opensilver-loader-progress-bar"></div>
                    </div>
                </div>
                <div class="opensilver-counter-container">
                    <span class="opensilver-odometer"></span>
                    <span class="opensilver-odometer"></span>
                    <span class="opensilver-odometer"></span>
                </div>
            </div>
        </div>
    </div>
    <div id="opensilver-root" style="position: relative; width: 100%; height: 100%; overflow-x: hidden; overflow-y: hidden"></div>

    <script>
        (function () {
            const script = document.createElement('script');
            script.setAttribute('type', 'application/javascript');
            script.setAttribute('src', 'libs/opensilver.js?date=' + new Date().toISOString());
            script.addEventListener('load', function () {
                const scriptWebAssembly = document.createElement('script');
                scriptWebAssembly.setAttribute('type', 'application/javascript');
                scriptWebAssembly.setAttribute('src', '_framework/blazor.webassembly.js?date=' + new Date().toISOString());
                document.body.appendChild(scriptWebAssembly);
            });
            document.body.appendChild(script);
        })();
    </script>
</body>
</html>